﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExtBusiness.Interface;
using System.Data;

public partial class InterfaceTest : System.Web.UI.Page
{
    string strXml = @"<?xml version='1.0' encoding='utf-8'?>
<operationXml>
 <trans><versionId>00000000000000000000000000002358</versionId><transType>ADD_EMP</transType><transXml><organId>O0000000000000000269</organId><organCode>110108196611074949</organCode><organName>张文晖</organName><parentId>O0000000000000000365</parentId><assistantId></assistantId><organDescription></organDescription><organHomeAddress></organHomeAddress><organHomeZipCode></organHomeZipCode><organHomePhone></organHomePhone><organAddress></organAddress><organZipCode></organZipCode><organPhone>63881818</organPhone><organFax></organFax><organMobile></organMobile><organEmail></organEmail><organQQ></organQQ><organMSN></organMSN><organJobTitles>书记(副主任)</organJobTitles><organJobLevel>121</organJobLevel><organTechnology>研究员（二级）</organTechnology><organTechnologyLevel></organTechnologyLevel><organSex>2</organSex><organBirthday>1966-11</organBirthday><organBirth>北京市</organBirth><organOrigin>北京市</organOrigin><organNation>01</organNation><organCountry>0</organCountry><organPoliticalStatus>01</organPoliticalStatus><organMarriage></organMarriage><organEducation>10</organEducation><organDegree>3</organDegree><organWorkingStatus>0</organWorkingStatus><organAttendanceStatus>0</organAttendanceStatus><organSchool>北大与国家行政学院联合培养MPA</organSchool><organPhoto></organPhoto><organPartyTime>2001-02</organPartyTime><organWorkTime>1989-07</organWorkTime><organSpecialty>公共管理</organSpecialty><struId>S0000000000000000268</struId><struPath>rootId#1#S0000000000000000011#S0000000000000000028#S0000000000000000364#S0000000000000000268</struPath><struOrder>200</struOrder></transXml>
  </trans>
</operationXml>
";

    CommonUserInface cuiTemp = new CommonUserInface();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            cuiTemp.AnalyseXml(strXml, "综合服务门户");
            //cuiTemp.InitXml();
        }

    }
}